//模拟实现set
#include "NewRBTree.h"
template <class K>
class myset
{
public:
   bool Insert(const K& val)
   {
       return _rb_tree.insert(val);
   }
private:
    struct FirstVal
    {
        const K& operator()(const K& val)
        {
            return val;
        }
    };
    RBTree<K, K, FirstVal> _rb_tree;
};